package day09_zy;

public class Employee {
private  String name;
private  int  age;
private  String gender;
//getter,setter方法
public String getName() {
	return name;
}
public void setName(String name) {
	this.name = name;
}
public int getAge() {
	return age;
}
public void setAge(int age) {
	this.age = age;
}
public String getGender() {
	return gender;
}
public void setGender(String gender) {
	this.gender = gender;
}
//空参有参构造
public Employee() {
	super();
}
public Employee(String name, int age, String gender) {
	super();
	this.name = name;
	this.age = age;
	this.gender = gender;
}
//toString
@Override
public String toString() {
	return "Employee [name=" + name + ", age=" + age + ", gender=" + gender + "]";
}
}
